package com.liu.common.config;

import org.springframework.context.annotation.Configuration;

@Configuration
public class SaTokenConfigure {
    /**
     * 注册 [Sa-Token全局过滤器]
     */
//    @Bean
//    public SaServletFilter getSaServletFilter() {
//        return new SaServletFilter()
//                .addInclude("/**").addExclude("/user/register").setAuth(obj->{
//                    SaRouter.match("/**","/user/login",()->StpUtil.checkLogin());
//                });
//    }
}
